import { createRouter, createWebHistory } from 'vue-router'
import Home from './pages/Home.vue'
import LoginAndRegister from './pages/LoginAndRegister.vue'
import GuangZhouHotel from './pages/GuangZhouHotel.vue'

const routes = [
  { path: '/', component: Home },
  { path: '/loginAndRegister', component: LoginAndRegister },
  { path: '/guangzhouhotel', component: GuangZhouHotel}
]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router